﻿@model Citi.PTSConsolidation.WebUi.Models.PearlAccountMapModel
@{
    ViewBag.Title = "Edit";
}
<h2>
    Edit</h2>
@using (Html.BeginForm())
{
    Html.EnableClientValidation();
    @Html.ValidationSummary(true)
    
    @Html.HiddenFor(model => model.Id)
    <div class="editor-label">
        @Html.LabelFor(model => model.AccountL14Desc)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.AccountL14Desc, new { maxlength = 150, style="width:400px"  })
        @Html.ValidationMessageFor(model => model.AccountL14Desc)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Leaf)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Leaf, new { style="width:400px"})
        @Html.ValidationMessageFor(model => model.Leaf)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.LeafDescr)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.LeafDescr, new { style="width:400px"})
        @Html.ValidationMessageFor(model => model.LeafDescr)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.LineType)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.LineType, new { style="width:400px"})
        @Html.ValidationMessageFor(model => model.LineType)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.AditionalRule)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.AditionalRule, new { style="width:400px"})
        @Html.ValidationMessageFor(model => model.AditionalRule)
    </div>
    <br />
    <p>
        <input type="submit" value="Save" class="btn btn-primary" />
    </p>
}
<div>
    <a href="javascript:history.back()">Back to list</a>
</div>
